.goods-item{
   
  .item-title{
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 4px 4px 0 0;
    font-weight: bold;
    background: #eff0f5;
    h3{
      border-color: $--color-primary;
      line-height: 1;
      border-left-width: 3px;
      padding-left: 10px;
    }
  }
  .add-goods-help{
    color: #999;
  }
  .wrap{
    padding: 15px 10px 10px 10px;
    .img-list{
      display: flex;
      li{
        width: 60px;
        height: 60px;
        margin: 0  15px 15px 0;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #dcdfe6;
        cursor: pointer;
        &:last-child{
          margin-right: 0;
          color: $--color-primary;
        }
        img{
          max-width: 100%;
          max-height: 100%;
        }
        .del{
          position: absolute;
          right: -10px;
          top: -10px;
          display: none;
          width: 20px;
          height: 20px;
          line-height: 20px;
          color: rgba(0,0,0, .3);
          &:hover{
            color: #333;
          }
          i{
            font-size: 20px;
          }
        }
        &:hover .del{
          display: block;
        }
      }
    }
  }
}
.fromat{
  background-color: #fff;
  padding: 10px;
  border: 1px solid #e5e5e5;
  .sku-item{
    +.sku-item{
      margin-top: 20px; 
    }
    .sku-item__title{
      position: relative;
      padding: 7px 10px;
      margin: 0;
      background-color: #f8f8f8;
      font-size: 12px;
      line-height: 16px;
      font-weight: 400;
      .del-sku{
        position: absolute;
        right: 10px;
        display: none;
        color: rgba(0,0,0, .3);
        i {
          font-size: 20px;
        }
        &:hover{
          color: #333;
        }
      }
      &:hover .del-sku {
        display: block;
      }
    }
    .sku-item__content{
      color: #666;
      padding: 20px 10px 0;
      display: flex;
      align-items: baseline;
      .title{
        width: 60px;
      }
      .sku-list{
        position: relative;
        flex: 1;
        display: flex;
        flex-flow: row wrap;
        align-items: baseline;
        .item{
          position: relative;
          margin: 0 5px 5px 0;
          .del{
            position: absolute;
            right: -10px;
            top: -10px;
            z-index: 99;
            display: none;
            width: 20px;
            height: 20px;
            line-height: 20px;
            color: rgba(0,0,0, .3);
            &:hover{
              color: #333;
            }
            i{
              font-size: 20px;
            }
          }
          &:hover .del{
            display: block;
          }
          &.active {
            margin-bottom: 110px;
          } 
          .upload-img-wrap{
            position: absolute;
            top: 40px;
            left: 0;
            padding: 2px;
            width: 84px;
            background: #fff;
            border-radius: 4px;
            border: 1px solid #dcdcdc;
            .arrow{
              position: absolute;
              width: 0;
              height: 0;
              top: -8px;
              left: 44%;
              border-style: solid;
              border-color: transparent;
              border-left: 5px solid transparent;
              border-right: 5px solid transparent;
              border-bottom: 5px solid #000;
              &::after{
                position: absolute;
                display: block;
                width: 0;
                height: 0;
                border: 10px solid transparent;
                top: 0;
                margin-left: -10px;
                border-bottom-color: #fff;
                border-top-width: 0;
                content: "";
              }
            }
            .rc-upload{
              width: 84px;
              height: 84px;
              line-height: 84px;
              text-align: center;
              background: #fff;
              font-size: 30px;
              color: #e5e5e5;
              cursor: pointer;
              border: 0;
              .img-wrap{
                width: 84px;
                height: 84px;
                img{
                  max-width: 100%;
                  max-height: 100%;
                }
              }
              .add{
                width: 84px;
                height: 84px;
                i{
                  font-size: 48px;
                }
              }
            }
          }
        }
      }
    }
  }
}
.sc-diy-pop{
  position: fixed;
  z-index: 999999;
  border-radius: 2px;
  box-shadow: 0 1px 6px rgba(0,0,0,.2);
  background-color: #fff;
  font-size: 12px;
  -webkit-border-radius: 2px;
  transform: translate(-50%, 14px);
  .sc-diy-pop-arrow{
    position: absolute;
    z-index: 1;
    width: 6px;
    height: 6px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    overflow: hidden;
    -webkit-transform: translate(-50%,-50%) rotate(45deg);
    -moz-transform: translate(-50%,-50%) rotate(45deg);
    transform: translate(-50%,-50%) rotate(45deg);
    left: 50%;
    top: 0;
  }
  .sc-diy-inner{
    position: relative;
    background: #fff;
    border-radius: 2px;
    padding: 10px 20px;
    z-index: 2;
    color: #333;
    .sc-diy-pop-buttons{
      min-width: 180px;
      text-align: right;
      margin-right: 0;
      margin-top: 10px;
    }
  }
}
.goods-disc{
  width: 414px;
  /deep/ .content{
    height: 600px;
    overflow: scroll;
    width: 414px;
    img{
      max-width: 100%;
      font-size: 0;
      display: inherit;
    }
  }
}
